package org.example.spring.factory;

import org.example.spring.config.MyGenericBeanDefinition;

public interface MyBeanFactory {

    void registerBeanDefinition(String beanName, MyGenericBeanDefinition myGenericBeanDefinition);

    void preInstantiateSingletons();

    void preInstantiateSingletons(String beanName);

    <T> T getBean(String beanName, Class<T> beanClassType);
}
